<script id="jhm_pages" type="text/html">
    <div data-jxt-type="pages" id="{{id}}" class="row jxt_css_pages ">
        <div class="col-md-8 text-center">
            <h2 class="jxt_css_title "> {{title}}</h2>
        </div>
        <div class="col-md-4">
            <nav>
                <ul class="pagination">

                    {{each children}}
                    <li class="{{($value==pageid?$value:pageid)}}"> <a href='?p={{$value}}'>{{$value}}</a></li>
                    {{/each}}
                    <li><a href="#" onclick="jxt.pages.add();">+</a></li>
                </ul>
            </nav>
        </div>


    </div>
</script>